/**
 * Created on 2018年4月25日 by caiming
 */
package com.demo.flyweight;

public class ConcreteWebSite extends WebSite {

	private String name = "";

	public ConcreteWebSite(String name) {
		this.name = name;
	}

	@Override
	public void use(User user) {
		System.out.println("网站分类：" + name + " 用户：" + user.getName());
	}

}
